package io.github.junxworks.qt.modules.mm.service;

import java.util.List;

import io.github.junxworks.qt.modules.mm.dto.MmDatastreamCondition;
import io.github.junxworks.qt.modules.mm.dto.MmDatastreamDto;
import io.github.junxworks.qt.modules.mm.vo.FieldVo;
import io.github.junxworks.qt.modules.mm.vo.MmDatastreamVo;

public interface MmDatastreamService {

	List<MmDatastreamVo> queryList(MmDatastreamCondition condition);

	MmDatastreamVo queryMmDatastreamById(Long id);

	List<FieldVo> queryFieldsByDsId(Long id);

	void save(MmDatastreamDto dto);
	
	MmDatastreamVo queryDataStreamByName(String dsName);
	
	String checkDsCanDelete(Long id);
}
